/* 引入图标 */
import { UserOutlined, LaptopOutlined, NotificationOutlined, BellOutlined, CommentOutlined } from '@ant-design/icons'

/* 导航菜单 */
const menus = [{
    /* 标题 */
    name: '试题管理',
    meta: {
        icon: UserOutlined,
        title: '试题管理',
        show: true
    },
    children: [
        {
            path: '/home/addQuestions',
            name: '添加试题',
            meta: {
                title: '添加试题',
                show: true
            }
        },
        {
            path: '/home/classifyQuestions',
            name: '试题分类',
            meta: {
                title: '试题分类',
                show: true
            }
        },
        {
            path: '/home/viewQuestion',
            name: '查看试题',
            meta: {
                title: '查看试题',
                show: true
            }
        },
        {
            path: '/home/questionDetails',
            name: '试题详情',
            meta: {
                title: '试题详情',
                show: false
            }
        }
    ]
},
{
    name: '用户管理',
    meta: {
        icon: LaptopOutlined,
        title: '用户管理',
        show: true
    },
    children: [
        {
            path: '/home/addConsumer',
            name: '添加用户',
            meta: {
                title: '添加用户',
                show: true
            }
        },
        {
            path: '/home/showConsumer',
            name: '用户展示',
            meta: {
                title: '用户展示',
                show: true
            }
        }
    ]
},
{
    name: '考试管理',
    meta: {
        icon: NotificationOutlined,
        title: '考试管理',
        show: true
    },
    children: [
        {
            path: '/home/addPaper',
            name: '添加考试',
            meta: {
                title: '添加考试',
                show: true
            }
        },
        {
            path: '/home/paperList',
            name: '试卷列表',
            meta: {
                title: '试卷列表',
                show: true
            }
        },
        {
            path: '/home/paperDetail',
            name: '考试详情',
            meta: {
                title: '考试详情',
                show: false
            }
        }
    ]
},
{
    name: '班级管理',
    meta: {
        icon: BellOutlined,
        title: '班级管理',
        show: true
    },
    children: [
        {
            path: '/home/classManager',
            name: '班级管理',
            meta: {
                title: '班级管理',
                show: true
            }
        },
        {
            path: '/home/roomManager',
            name: '教室管理',
            meta: {
                title: '教室管理',
                show: true
            }
        },
        {
            path: '/home/studentManager',
            name: '学生管理',
            meta: {
                title: '学生管理',
                show: true
            }
        }
    ]
},
{
    name: '阅卷管理',
    meta: {
        icon: CommentOutlined,
        title: '阅卷管理',
        show: true
    },
    children: [
        {
            path: '/home/markingDetail',
            name: '批卷详情',
            meta: {
                title: '批卷',
                show: false
            }
        },
        {
            path: '/home/markingList',
            name: '待批班级',
            meta: {
                title: '待批班级',
                show: true
            }
        },
        {
            path: '/home/markingStudentList',
            name: '学生试卷列表',
            meta: {
                title: '学生试卷列表',
                show: false
            }
        }
    ]
}
];

export default menus;